package com.ruoyi.project.shortUrl.url.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 短链接域名对象 domain_of_short_url
 * 
 * @author ruoyi
 * @date 2020-04-05
 */
public class DomainOfShortUrl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 域名 */
    @Excel(name = "域名")
    private String domain;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Long created;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private Long modified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDomain(String domain) 
    {
        this.domain = domain;
    }

    public String getDomain() 
    {
        return domain;
    }
    public void setCreated(Long created) 
    {
        this.created = created;
    }

    public Long getCreated() 
    {
        return created;
    }
    public void setModified(Long modified) 
    {
        this.modified = modified;
    }

    public Long getModified() 
    {
        return modified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("domain", getDomain())
            .append("created", getCreated())
            .append("modified", getModified())
            .toString();
    }
}
